package org.example.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author songyafei
 */
@Slf4j
@RestController
@RequestMapping("/demo")
@Api(value = "测试方法", tags = "测试方法")
public class DemoController {

    @ApiOperation(value = "查询测试", notes = "查询测试")
    @PostMapping("/list")
    public void select(){
        System.out.println("查询测试");
    }
}
